.PHONY: all server uiclient clean

all: server uiclient

server:
	$(CC) -g -Wall server.c common.c -o server -lpthread -lm

uiclient:
	$(CC) -g -Wall uiclient.c common.c -o uiclient -lcurses

clean:
	rm -f server uiclient
